package com.uit.se6.mydiary;

import com.uit.se6.mydiary.data.MySharedPreference;

import android.app.Activity;
import android.os.Bundle;

public class BaseActivity extends Activity {
	// MySharedPreference shared;
	//
	// public BaseActivity() {
	// shared = new MySharedPreference(this);
	// }
	//

	protected MySharedPreference shared;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		shared = new MySharedPreference(this);
	}

	public MySharedPreference getSharedPreference() {
		return shared;
	}
}
